﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace FoundationLib.Web.Mvc
{
	/// <summary>
	/// Represents options for image text buttons.
	/// </summary>
	public class ImageTextButtonOptions
	{
		/// <summary>
		/// Gets or sets the name of the image.
		/// </summary>
		public string ImageName { get; set; }
		/// <summary>
		/// Gets or sets the text displayed.
		/// </summary>
		public string Text { get; set; }
		/// <summary>
		/// Gets or sets a value indicating if the image is displayed.
		/// </summary>
		public bool ShowImage { get; set; }
		/// <summary>
		/// Gets or sets the image orientation.
		/// </summary>
		public ImageOrientation ImageOrientation { get; set; }

		/// <summary>
		/// Creates a new instance of <see cref="ImageTextButtonOptions"/>.
		/// <remarks>By default the image is displayed on the left-hand side of the text.</remarks>
		/// </summary>
		public ImageTextButtonOptions()
		{
			this.ShowImage = true;
			this.ImageOrientation = ImageOrientation.Left;
		}
	}
}
